package com.hcbd.tdwt.ui.htct.activity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.core.content.ContextCompat;

import com.hcbd.tdwt.R;
import com.hcbd.tdwt.ui.setting.hlct.BluetoothNameSetActivity_;
import com.hcbd.tdwt.ui.setting.hlct.BoxModeActivity_;
import com.hcbd.tdwt.ui.setting.hlct.SetLocationReportingActivity_;
import com.hcbd.tdwt.ui.setting.hlct.SosSettingActivity_;
import com.cy.translucentparent.StatusNavUtils;



import com.hcbd.tdwt.base.BaseActivity;


import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

@SuppressLint("NonConstantResourceId")
@EActivity(R.layout.activity_bd_parameter_set_hlct)
public class BdSetActivity extends BaseActivity {
    @ViewById
    TextView title;
    @ViewById
    ImageButton headLeft;
    @ViewById
    RelativeLayout topRL;

    @AfterViews
    protected void init() {
        title.setTextColor(ContextCompat.getColor(this,R.color.black));
        headLeft.setBackground(ContextCompat.getDrawable(this,R.drawable.left_arrow));
        topRL.setBackground(ContextCompat.getDrawable(this,R.color.white));
        title.setText("北斗设置");
        StatusNavUtils.setStatusNavBarColor(this, getColor(R.color.white), getColor(R.color.deep_black));
        setAndroidNativeLightStatusBar(true);

    }

    @Click
    void headLeft(){
        finish();
    }
    @Click
    void bluetoothSetLL(){
        Intent intent=new Intent();
        intent.setClass(this, BluetoothNameSetActivity_.class);
        startActivity(intent);
    }

    @Click
    void SosSetLL(){
        Intent intent=new Intent();
        intent.setClass(this, SosSettingActivity_.class);
        startActivity(intent);

    }
    @Click
    void bdUploadSet(){
        Intent intent=new Intent();
        intent.setClass(this, SetLocationReportingActivity_.class);
        startActivity(intent);
    }
    @Click
    void modeSetLL(){
        Intent intent=new Intent();
        intent.setClass(this, BoxModeActivity_.class);
        startActivity(intent);
    }
}
